package com.zj.fx.model.info;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import cn.hutool.core.date.DateUtil;
import lombok.Data;

import java.util.Date;

@Data
public class InfoWeight implements Serializable {
    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "主键id")
    private String id;

    @ApiModelProperty(value = "分类编码（对应项目编号开头第一位）")
    private String num;

    @ApiModelProperty(value = "分类描述")
    private String name;

    @ApiModelProperty(value = "权重")
    private String weight;

    public void setWeight(String weight) {
        this.weight = weight;
    }


    public InfoWeight(String id, String num, String name, String weight) {

        this.id = id;

        this.num = num;

        this.name = name;

        this.weight = weight;

    }

    public InfoWeight() {
        super();
    }


}